package com.dks.repository;

import com.dks.models.Times;
import com.dks.result.ResultModel;
import com.dks.util.PageInfo;


public interface ITimesRepository {

    ResultModel<Boolean> insert(Times times);

    ResultModel<Boolean> update(Times times);

    ResultModel selectById(Integer id);

    ResultModel<PageInfo<Times>> selectList(Integer pageNum, Integer pageSize, String beginTime);

    ResultModel<Boolean> delete(Times times);

    ResultModel<String> selectEffectiveTime(String time, Integer timeSlot,Integer id,String AmOrPm);
}
